import { Column, Model, Table } from "sequelize-typescript";
import { IConversation } from "../IConversation";

@Table
export class Conversation extends Model<IConversation> {
    @Column({
        primaryKey: true,
    })
    _id: string;

    @Column
    title: string;

    @Column
    userID: string;

    @Column
    createdAt: Date;

    @Column
    updatedAt: Date;
    
    @Column
    state: number;

    @Column
    workflowID: string;
}